package com.eastcom.bm.atom;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "QA_ACTIONRULE")
public class Atom_ActionRule implements Serializable {

	private String uuid;
	
	private String datasetId;
	
	private String alarmLevel;
	
	private String actionType;
	
	private String objectUUID;
	
	@Id
	@Column(name = "UUID", nullable = false)
	@GenericGenerator(name = "ActionRule-uuid", strategy = "uuid")
	@GeneratedValue(generator = "ActionRule-uuid")
	public String getUuid() {
		return uuid;
	}

	@Column(name="ACTION_TYPE")
	public String getActionType() {
		return actionType;
	}

	@Column(name="OBJECT_UUID")
	public String getObjectUUID() {
		return objectUUID;
	}

	@Column(name="ALARM_LEVEL")
	public String getAlarmLevel() {
		return alarmLevel;
	}

	@Column(name="DATASET_ID")
	public String getDatasetId() {
		return datasetId;
	}

	public void setActionType(String actionType) {
		this.actionType = actionType;
	}

	public void setObjectUUID(String objectUUID) {
		this.objectUUID = objectUUID;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public void setAlarmLevel(String alarmLevel) {
		this.alarmLevel = alarmLevel;
	}

	public void setDatasetId(String datasetId) {
		this.datasetId = datasetId;
	}
	
}
